package com.rtwo.service;

import javafx.util.Pair;

import java.io.File;
import java.util.List;
import java.util.Map;

/**
 * Created by hasee on 2017/5/18.
 */
public interface EmailService {

    void sendSimpleMail(String sendTo,String title,String content);

    void sendAttachmentsMail(String sendTo, String title, String content, List<Pair<String,File>> attachments);

    void sendTemplateMail(String sendTo, String title, Map<String,Object> content,List<Pair<String,File>> attachment);

}
